<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
	<meta name="keywords" content="">
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<link rel="stylesheet" href="/home/css/base.css">
	<link rel="stylesheet" type="text/css" href="/home/css/swiper.min.css"/>
	<link rel="stylesheet" href="/home/css/dian.css">
	<script src="/home/js/jquery-3.1.1.min.js"></script>
	<script src="/home/js/swiper.min.js"></script>
	{include file="public/css"}
</head>
<body>
	<div class="dian-content o_hidden">
		<div class="ac-bottom o_hidden">
			<div class="text-c">
				<!-- <form action="{:url('tongji')}" method="get"> -->
					<div class="text-c">
						{if condition="session('atype') neq 1"}
						<select class="input-text Wdate" style="width:250px" onchange="window.location=this.value">
							<option value="{:url('tongji')}?keywords={$keywords}">机构选择</option>
							{volist name="jigou" id="j"}
							<option value="{:url('tongji')}?keywords={$keywords}&aid={$j.aid}" {:$aid==$j.aid?'selected':''}>{$j.name}</option>
							{/volist}
						</select>
						{/if}
						<select class="input-text Wdate" style="width:100px;margin-right: 20px;" onchange="window.location=this.value">
							<option value="{:url('tongji')}?aid={$aid}">批次选择</option>
							{volist name="pici" id="c"}
							<option value="{:url('tongji')}?keywords={$keywords}&aid={$aid}&pid={$c.id}" {:$c.id==$pid?'selected':''}>{$c.name}</option>
							{/volist}
						</select>
						{if condition="session('atype') neq 1"}
						<input type="text" name="keywords" value="{$keywords}" class="input-text" style="width:150px;" placeholder="请输入培训机构名字">
						<button type="button" class="btn btn-success"><i class="Hui-iconfont">&#xe665;</i> 点击搜索</button>
						{/if}
					</div>
				<!-- </form> -->

			</div>
			{if condition="!empty($list)"}
			<div class="ac-table o_hidden">
				<div class="actable-list o_hidden">
					<ul class="o_hidden">
						<li style="width: 100%">
							<p>
								<a>共有考生<span style="color:red">{:count($list)}</span>个，待考<span style="color:red">{$dk}</span>个，缺考<span style="color:red">{$qk}</span>个</a>
							</p>
						</li>
						{volist name="jibie" id="s"}
						<li style="border: 1px solid #dcdcdc">
							<p>
								<a><span style="color:red">{$s.name}</span>&nbsp;&nbsp;&nbsp;&nbsp;共<span style="color:red">{$s.num}</span>个</a>
							</p>
						</li>
						{/volist}

						{volist name="kgdf" id="k"}
						<li style="border: 1px solid #dcdcdc">
							<p>
								<a>{$k.name}打分<span style="color:red">{$k.num}</span>个</a>
							</p>
						</li>
						{/volist}
					</ul>
				</div>
			</div>
			{else /}
			暂无数据
			{/if}
		</div>
	</div>
	<script src="/public/demo/layer3.1.0/layer/layer.js"></script>
	<script>
		$(".btn-success").click(function(){
			var key=$("input[name=keywords]").val();
			if(key==''){layer.msg('请输入培训机构名字！');return false;}else{
				location.href="{:url('tongji')}?keywords="+key;
			}

		})
	</script>
</body>
</html>